home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / edit / pcps800.zip / CVARG.DOC next >
Text File  |  1994-12-07  |  3KB  |  66 lines

  1. CVARG V1.0                                                   (c)MicroSource 1994
  2.  
  3. A utility to convert the old style PCPS arguments (all versions up to and
  4. including V7.80), to the new style supported by V7.90 onwards.
  5.  
  6. CVARG.EXE is a family mode utility which means that it will run under both
  7. DOS and OS/2 in its native mode.
  8.  
  9. Usage:
  10.  
  11.         cvarg [-d] <infile> [outfile]
  12.  
  13.         where:
  14.                 -d        specifies "DUMB" mode.  The default is "SMART"
  15.                           mode.
  16.  
  17.                 infile    is mandatory - the file you want to process.
  18.  
  19.                 outfile   is optional.  If outfile is not specified, the
  20.                           output will be placed into a filename generated
  21.                           by taking the <infile>, stripping any final
  22.                           extent it has, and adding the extent ".new"
  23.  
  24.  
  25. The Story:
  26.  
  27. OK, so you have been using a version of PCPS prior to version 7.90 quite
  28. happily and what do I do?  I introduce a version called 7.90 which changes
  29. all of the arguments around.  How inconsiderate of me!
  30.  
  31. Well, I apologise to those people who have been inconvenienced, but an
  32. change was needed as the arguments had long ago lost any meaning, and I was
  33. running out.
  34.  
  35. To make it up to you (I know this is a little late for some of my users) I
  36. have written a rough utility which will help you migrate from an older
  37. version.
  38.  
  39. CVARG.EXE (or just cvarg to you Unix users) is a utility which is designed
  40. to read through a file and change any old style PCPS arguments to the new 2
  41. character style supported by V7.90 onwards.
  42.  
  43. It has two modes of operation.  The default mode is "SMART" where it will
  44. only modify arguments which are on a line calling pcps or pcpsd.  This mode
  45. is useful for DOS batch files, OS/2 cmd files or Unix script files where
  46. you may be calling other utilities in the same file which have arguments
  47. similar to PCPS and you don't want them modified.
  48.  
  49. For those of you who also want to be able to convert their config and admin
  50. files (pcps.cfg and pcps.adm), CVARG has a "DUMB" mode using the "-d"
  51. argument where it will find any argument in the input file which looks like
  52. an old style PCPS argument and covert it to the new style.
  53.  
  54. DOS and OS/2 users have it easy as all you have to do is run the .EXE file.
  55. Unix users have to compile the source and you will need an ANSI compiler
  56. such as gcc to do that.  Just typing "make cvarg" should work on all
  57. platforms.
  58.  
  59. So that's about it.  I hope this makes life a little easier for someone :-)
  60.  
  61. Blueskies,
  62.  
  63. Paul Carapetis, MicroSource.
  64.  
  65. Internet: P.Carapetis@as03.bull.oz.au
  66.